Overview

This section describes the available REST endpoints for looking up vehicles (køretøjer) in the land registry system.

A lookup can be performed using a unique uuid. The response format can be controlled using optional query parameters, supporting OIO XML, XHTML, and TMV XHTML formats.

The response is an XML document of type BilSummariskHentResultat containing a full summary of all rights associated with the specified vehicle.

Endpoints

OpslagUUID

Endpoint URL: bil/uuid/{uuid}

Method

GET

Description

Retrieve the full summary information for a vehicle using its UUID. The response format can be controlled using optional query parameters.

Input

Path parameter:

  • uuid

Optional query parameters:

  • xhtml=true - returns response as XHTML

  • tmvXhtml=true - returns response as TMV XHTML

  • If neither is provided, the response is returned as OIO XML (default)

Output

XML document of type BilSummariskHentResultat (OIO XML, XHTML, or TMV XHTML depending on parameters).

The formatting of XHTML and TMV XHTML responses is not documented in detail and may change without notice.

Error handling

Standard HTTP error codes for invalid input or lack of access.

Interaction pattern

Query response

Example request:

GET /bil/uuid/34879c09-85a9-401c-becd-5b753536dda5?xhtml=false&tmvxhtml=false HTTP/1.1
host: nc-dev-xml-api.tinglysning.dk
accept: */*

SoegBil

Endpoint URL: soegbil

Method

GET

Description

Search for vehicles using various criteria. Only one search type can be used per request: chassis number (stelnr), CVR number (cvr), or name with date of birth (navn + fdato).

Input

Query parameters (mutually exclusive):

  • stelnr - Chassis number (implicit wildcard * prefix applied)

  • cvr - Company registration number

  • navn + fdato - Name and date of birth (both required together)

Output

JSON response containing a list of matching vehicles with basic information (incl. uuid).

Error handling

  • Standard HTTP error codes for invalid input or lack of access

Interaction pattern

Query response

Example request:

GET /soegbil/99e5272d-396b-4e38-b033-5ea9098f456a?stelnr=WF0SXXWPGSFK29190&cvr=&navn=John%20Doe&fdato=01.01.1970 HTTP/1.1